Tutor\Ecommerce\OrderController C

Total Complexity 105
Dependencies 11
Dependents 5
Total lines 1,070
Lines of code 599
Logical lines of code 330
Comment lines 305
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
create_order()
B
36 16 76
bulk_action_handler()
A
40 13 62
make_refund()
A
36 11 87
add_discount()
A
41 9 59
count_order()
A
45 10 39
prepare_bulk_actions()
S
53 6 25
add_comment()
S
47 5 37
order_cancel()
S
50 5 31
tabs_key_value()
S
48 4 33
order_mark_as_paid()
S
51 4 28
get_order_by_id()
S
54 4 25
get_orders()
S
54 4 21
validate()
S
59 3 15
__construct()
S
59 2 13
bulk_delete_order()
S
63 2 10
update_order_status()
S
59 1 15
get_order_page_url()
S
69 2 7
get_discount_data()
S
66 2 8
get_refund_data()
S
66 2 8